package cn.wfu.rlrjds.app.repaire.domain;

import java.io.Serializable;
import java.util.Date;

import cn.wfu.rlrjds.app.repairman.domain.Repaireman;
import cn.wfu.rlrjds.app.user.domain.User;

public class Repaire implements Serializable {
	// private Integer rid; // 标识符 id
	// private String repairer_Name; // 保修人名字
	// private String repaire_Goods; // 报修物品
	// private String repaire_Place; // 保修地点
	// private String repairer_Phonenumber; // 保修人手机号
	// private String repaire_Describe; // 报修描述
	// private String repaire_state; // 是否维修 0. 待维修 1. 正在维修 2.维修成功
	// private Repairman repairman; // 维修员
	// private User user; // 报修人员
	// private String imgurl; // 报修图片
	// private Date repaire_time; // 保修时间
	// private Date over_time; // 修理完成时间
	private String rid; // 报修订单id
	private String repaireName; // 报修人姓名
	private String mainType; // 报修 主类型
	private String type; // 报修类型
	private String budlingId; // 报修楼编号
	private String roomNum; // 房间号
	private String repaireDes; // 报修描述
	private String goods; // 报修物品
	private String imgUrl; // base64编码图片地址or服务器图片地址
	private int repaireStatus; // 0代表未维修 1 代表维修中 2代表维修完成
	private String confirmStatus; // 0代表维修完成未确认 1代表维修完成确认

	private Date repaire_time; // 保修时间
	private Date over_time; // 修理完成时间
	private Date get_repaire_time; // 接单时间

	private User user; // 报修人员
	private Repaireman repairman; // 维修人员
	private String evaluate; // 客户评价

	public String getRepaireName() {
		return repaireName;
	}

	public void setRepaireName(String repaireName) {
		this.repaireName = repaireName;
	}

	public String getMainType() {
		return mainType;
	}

	public void setMainType(String mainType) {
		this.mainType = mainType;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getBudlingId() {
		return budlingId;
	}

	public void setBudlingId(String budlingId) {
		this.budlingId = budlingId;
	}

	public String getRoomNum() {
		return roomNum;
	}

	public void setRoomNum(String roomNum) {
		this.roomNum = roomNum;
	}

	public String getRepaireDes() {
		return repaireDes;
	}

	public void setRepaireDes(String repaireDes) {
		this.repaireDes = repaireDes;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Date getRepaire_time() {
		return repaire_time;
	}

	public void setRepaire_time(Date repaire_time) {
		this.repaire_time = repaire_time;
	}

	public Date getOver_time() {
		return over_time;
	}

	public void setOver_time(Date over_time) {
		this.over_time = over_time;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	@Override
	public String toString() {
		return "Repaire [rid=" + rid + ", repaireName=" + repaireName
				+ ", mainType=" + mainType + ", type=" + type + ", budlingId="
				+ budlingId + ", roomNum=" + roomNum + ", repaireDes="
				+ repaireDes + ", goods=" + goods + ", imgUrl=" + imgUrl
				+ ", repaireStatus=" + repaireStatus + ", confirmStatus="
				+ confirmStatus + ", repaire_time=" + repaire_time
				+ ", over_time=" + over_time + ", get_repaire_time="
				+ get_repaire_time + ", user=" + user + ", repairman="
				+ repairman + ", evaluate=" + evaluate + "]";
	}

	public int getRepaireStatus() {
		return repaireStatus;
	}

	public void setRepaireStatus(int repaireStatus) {
		this.repaireStatus = repaireStatus;
	}

	public Repaireman getRepairman() {
		return repairman;
	}

	public void setRepairman(Repaireman repairman) {
		this.repairman = repairman;
	}

	public String getGoods() {
		return goods;
	}

	public void setGoods(String goods) {
		this.goods = goods;
	}

	public String getConfirmStatus() {
		return confirmStatus;
	}

	public void setConfirmStatus(String confirmStatus) {
		this.confirmStatus = confirmStatus;
	}

	public Date getGet_repaire_time() {
		return get_repaire_time;
	}

	public void setGet_repaire_time(Date get_repaire_time) {
		this.get_repaire_time = get_repaire_time;
	}

	public String getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(String evaluate) {
		this.evaluate = evaluate;
	}

}
